AmpProject\AmpWP\PluginSuppression A

Total Complexity 58
Dependencies 11
Dependents 1
Total lines 463
Lines of code 239
Logical lines of code 122
Comment lines 162
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
sanitize_options()
A
50 10 27
suppress_blocks()
S
53 7 23
get_sorted_plugin_validation_errors()
S
44 5 47
suppress_hooks()
S
60 5 13
suppress_widgets()
S
56 4 19
prepare_suppressed_plugins_for_response()
S
59 3 16
register()
S
58 2 16
suppress_shortcodes()
S
67 3 8
is_callback_plugin_suppressed()
S
66 3 8
initialize()
S
66 3 8
is_reader_theme_request()
S
66 3 9
suppress_plugins()
S
62 2 12
get_suppressible_plugins_with_details()
S
67 2 8
prepare_user_for_response()
S
64 2 10
maybe_suppress_plugins()
S
72 2 6
filter_default_options()
S
77 1 4
__construct()
S
74 1 5